package com.sm.scorpio.http;

import com.sm.scorpio.ui.bean.http.UserDataHttpBean;
import com.sm.scorpio.ui.bean.http.UserHttpBean;
import com.sm.scorpio.ui.bean.model.BaseBean;

import retrofit2.Call;
import retrofit2.http.POST;

/**
 * created by zhud on 2019/8/14
 */
public interface HttpApi {
    @POST(value = "/api/app/user/login")
    Call<UserHttpBean> login();

    //获取用户信息
    @POST(value = "/api/app/user/findUserInfo")
    Call<UserDataHttpBean> findUserInfo();

    //保存用户信息
    @POST(value = "/api/app/user/saveUserInfo")
    Call<UserDataHttpBean> saveUserInfo();

    //获取所有客户端
    @POST(value = "/api/app/user/findAllClient")
    Call<UserDataHttpBean> findAllClient();
}
